From: Owen W. Taylor Date: Thu, 6 Aug 2009 19:14:57 +0000 (-0400) Subject: Tweak sizing of windows in overview X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11149 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=354112fb415ca174c99b59d5eb76e4c8006ee5ee;p=gnome-shell.git Tweak sizing of windows in overview Tweak arrangements with 2,3,4,5 windows in a desktop so: - Windows are a bit bigger - All windows for 5 windows are equally sized instead of making the windows in the bottom row larger This does cause some more problems with tall windows overlapping or running off the edge of the workspace, but it's an overall small improvement to the behavior. --- diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js index 7da0e40ec..2325b5abb 100644 --- a/js/ui/workspaces.js +++ b/js/ui/workspaces.js @@ -36,10 +36,10 @@ FRAME_COLOR.from_pixel(0xffffffff); // is relative to the width of the workspace. const POSITIONS = { 1: [[0.5, 0.5, 0.8]], - 2: [[0.25, 0.5, 0.4], [0.75, 0.5, 0.4]], - 3: [[0.25, 0.25, 0.33], [0.75, 0.25, 0.33], [0.5, 0.75, 0.33]], - 4: [[0.25, 0.25, 0.33], [0.75, 0.25, 0.33], [0.75, 0.75, 0.33], [0.25, 0.75, 0.33]], - 5: [[0.165, 0.25, 0.28], [0.495, 0.25, 0.28], [0.825, 0.25, 0.28], [0.25, 0.75, 0.4], [0.75, 0.75, 0.4]] + 2: [[0.25, 0.5, 0.45], [0.75, 0.5, 0.45]], + 3: [[0.25, 0.25, 0.45], [0.75, 0.25, 0.45], [0.5, 0.75, 0.45]], + 4: [[0.25, 0.25, 0.45], [0.75, 0.25, 0.45], [0.75, 0.75, 0.45], [0.25, 0.75, 0.45]], + 5: [[0.165, 0.25, 0.30], [0.495, 0.25, 0.30], [0.825, 0.25, 0.30], [0.25, 0.75, 0.30], [0.75, 0.75, 0.30]] }; // Spacing between workspaces. At the moment, the same spacing is used